package com.lzx.resumeservice.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lzx.resumebase.model.User;
import com.lzx.resumedao.dao.UserDao;
import com.lzx.resumeservice.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName UserServiceImpl
 * @Author 刘正星
 * @Date 2021/5/23 下午10:51
 * @Description
 */

@Service
public class UserServiceImpl extends ServiceImpl<UserDao, User> implements UserService {

    @Autowired
    private UserDao userDao;
    @Override
    public List<User> findAll() {
        return userDao.selectList(null);
    }
}
